package com.xbongbong.saas.enums;

import com.xbongbong.i18n.util.I18nMessageUtil;
import lombok.AllArgsConstructor;


/**
 * Description:
 *
 * @Author: pkh
 * @Date: 11-30
 */
@AllArgsConstructor
public enum ContractCompareStatusEnum {
    SUCCESS(0, "enum.contractCompareStatus.memo.success"),

    FAILURE(1,"enum.contractCompareStatus.memo.failure"),
    ;


    private Integer code;

    private String memo;

    public Integer getCode() {
        return code;
    }

    public String getMemo() {
        return I18nMessageUtil.getMessage(memo);
    }
}
